package com.pig4cloud.pig.demo.feign.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 学历实体类
 * Created by caoxuel on 2020/10/27 9:57
 * @author caoxuel
 */
@Data
@TableName("education")
public class Education {
    @TableId(value = "edu_id",type = IdType.AUTO)
    private Long eduId;

    /**
     * 毕业学校
     */
    private String school;

    /**
     * 学历
     */
    private String education;

    /**
     * 毕业时间
     */
    @TableField("graduation_date")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date graduationDate;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 毕业证明照
     */
    private String img;

    /**
     * 审核状态：0，默认，未审核；1，已审核
     */
    private Integer status;


}
